package com.lvzero.answer.service;

import com.lvzero.answer.base.BaseService;
import com.lvzero.answer.common.Result;
import com.lvzero.answer.mapper.AwardMapper;
import org.springframework.stereotype.Service;

/**
 * 奖品的 service
 */
@Service
public class AwardService extends BaseService<AwardMapper> {


    public Result getAward() {
        return Result.success(mapper.selectAll());
    }
}
